package org.yege.algorithm.loadtest;

/**
 * 测试结果类
 */
public class TestResult {
    private boolean isSuccess;//是否成功，true;成功,false:失败
    private long finishTime;//成功完成时间,单位ms

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public long getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(long finishTime) {
        this.finishTime = finishTime;
    }

    @Override
    public String toString() {
        return "TestResult{" +
                "isSuccess=" + isSuccess +
                ", finishTime=" + finishTime +
                '}';

    }
}
